package com.monsky.power.mobile;

public class MobileException extends Exception{

	/**
	 * 
	 */
	private static final long serialVersionUID = -1138162295361229079L;

	private String message ;
	
	public MobileException(String message) {
		if (message == null){
			this.message = "";
		}else {
			this.message = message;
		}
	}
	
	public String getMessage() {
		return message;
	}

	@Override
	public void printStackTrace() {
		System.out.println(message);
		super.printStackTrace();
	}
	
}
